from django.db import models


# Create your models here.
class Book(models.Model):
    book_name = models.CharField(max_length=64)
    add_time = models.DateTimeField(auto_now_add=True)

    def __unicode__(self):
        return self.book_name


class Cseqdata(models.Model):
    group = models.CharField(max_length=64)
    accession = models.CharField(max_length=64)
    title = models.CharField(max_length=64)
    cell_line = models.CharField(max_length=64)
    technology = models.CharField(max_length=64)
    antibody = models.CharField(max_length=64)
    treatment = models.CharField(max_length=64)
    add_time = models.DateTimeField(auto_now_add=True)
    mark_for_delete = models.BooleanField(default=False)

    def __unicode__(self):
        return self.accession
